package presentationTier.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.Global;
import presentationTier.MainForm;

/**
 *
 * @author vojta
 */
public class CreateAction implements ActionListener{

    MainForm form;

    public CreateAction(MainForm aThis) {
        form = aThis;
    }

    public void actionPerformed(ActionEvent e) {        
            Global.create(form);
            Global.enableComponents(form, true);
    }

}
